home *** CD-ROM | disk | FTP | other *** search
/ Freelog 125 / Freelog_MarsAvril2015_No125.iso / ViePratique / ArchiFacile / ArchiFacileSetup.exe / {app} / nw.pak / Unnamed File 001138.txt < prev    next >
Text File  |  2014-10-14  |  10KB  |  290 lines

  1. <!DOCTYPE html>
  2. <html i18n-values="dir:textdirection;">
  3. <head>
  4.   <meta charset="utf-8">
  5.   <title>IndexedDB</title>
  6.   <link rel="stylesheet" href="chrome://resources/css/tabs.css">
  7.   <link rel="stylesheet" href="chrome://resources/css/widgets.css">
  8.   <style>/* Copyright (c) 2013 The Chromium Authors. All rights reserved.
  9.  * Use of this source code is governed by a BSD-style license that can be
  10.  * found in the LICENSE file. */
  11.  
  12. .indexeddb-summary {
  13.     background-color: rgb(235, 239, 249);
  14.     border-top: 1px solid rgb(156, 194, 239);
  15.     margin-bottom: 6px;
  16.     margin-top: 12px;
  17.     padding: 3px;
  18.     font-weight: bold;
  19. }
  20.  
  21. .indexeddb-item {
  22.     margin-bottom: 15px;
  23.     margin-top: 6px;
  24.     position: relative;
  25. }
  26.  
  27. .indexeddb-url {
  28.     color: rgb(85, 102, 221);
  29.     display: inline-block;
  30.     max-width: 500px;
  31.     overflow: hidden;
  32.     padding-bottom: 1px;
  33.     padding-top: 4px;
  34.     text-decoration: none;
  35.     text-overflow: ellipsis;
  36.     white-space: nowrap;
  37. }
  38.  
  39. .indexeddb-database {
  40.     margin-bottom: 6px;
  41.     margin-top: 6px;
  42.     margin-left: 12px;
  43.  
  44.     position: relative;
  45. }
  46.  
  47. .indexeddb-database > div {
  48.     margin-left: 12px;
  49. }
  50.  
  51. .indexeddb-connection-count {
  52.     margin: 0 8px;
  53. }
  54. .indexeddb-connection-count.pending {
  55.     font-weight: bold;
  56. }
  57.  
  58. .indexeddb-transaction-list {
  59.     margin-left: 10px;
  60.     border-collapse: collapse;
  61. }
  62.  
  63. .indexeddb-transaction-list th,
  64. .indexeddb-transaction-list td {
  65.     padding: 2px 10px;
  66.     min-width: 50px;
  67.     max-width: 75px;
  68. }
  69.  
  70. td.indexeddb-transaction-scope {
  71.     min-width: 200px;
  72.     max-width: 500px;
  73. }
  74.  
  75. .indexeddb-transaction-list th {
  76.     background-color: rgb(249, 249, 249);
  77.     border: 1px solid rgb(156, 194, 239);
  78.     font-weight: normal;
  79.     text-align: left;
  80. }
  81.  
  82. .indexeddb-transaction {
  83.     background-color: rgb(235, 239, 249);
  84.     border-bottom: 2px solid white;
  85. }
  86.  
  87. .indexeddb-transaction.created {
  88.     font-weight: italic;
  89. }
  90. .indexeddb-transaction.started {
  91.     font-weight: bold;
  92. }
  93. .indexeddb-transaction.running {
  94.     font-weight: bold;
  95. }
  96. .indexeddb-transaction.blocked {
  97. }
  98.  
  99. .indexeddb-transaction.started .indexeddb-transaction-state {
  100.     background-color: rgb(249, 249, 235);
  101. }
  102. .indexeddb-transaction.running .indexeddb-transaction-state {
  103.     background-color: rgb(235, 249, 235);
  104. }
  105. .indexeddb-transaction.blocked .indexeddb-transaction-state {
  106.     background-color: rgb(249, 235, 235);
  107. }
  108.  
  109. .controls a {
  110.     -webkit-margin-end: 16px;
  111.     color: #777;
  112. }
  113. </style>
  114. </head>
  115. <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
  116.     <!-- templates -->
  117.     <div style="display:none">
  118.         <div id="indexeddb-list-template"
  119.              jsvalues="$partition_path:$this.partition_path">
  120.             <div class="indexeddb-summary">
  121.                 <span>Instances in: </span>
  122.                 <span jscontent="$this.partition_path"></span>
  123.                 <span jscontent="'(' + $this.idbs.length + ')'"></span>
  124.             </div>
  125.             <div class="indexeddb-item" jsselect="$this.idbs">
  126.                 <a class="indexeddb-url" jscontent="url" jsvalues="href:url"
  127.                    target="_blank"></a>
  128.                 <div class="indexeddb-size">
  129.                     <span>Size:</span>
  130.                     <span jscontent="size"></span>
  131.                 </div>
  132.                 <div class="indexeddb-last-modified">
  133.                     <span>Last modified:</span>
  134.                     <span jscontent="new Date(last_modified)"></span>
  135.                 </div>
  136.                 <div>
  137.                     <span>Open connections:</span>
  138.                     <span class="connection-count"
  139.                           jsvalues=".idb_origin_url:url;.idb_partition_path:$partition_path"
  140.                           jscontent="connection_count">
  141.                 </div>
  142.                 <div class="indexeddb-last-modified">
  143.                     <span>Path:</span>
  144.                     <span jscontent="path"></span>
  145.                 </div>
  146.                 <div class="controls">
  147.                     <a href="#" class="force-close"
  148.                        jsvalues=".idb_origin_url:url;.idb_partition_path:$partition_path">Force close</a>
  149.                     <a href="#" class="download"
  150.                        jsvalues=".idb_origin_url:url;.idb_partition_path:$partition_path">Download</a>
  151.                     <span class="download-status" style="display: none">Loading...</span>
  152.                 </div>
  153.                 <div class="indexeddb-database" jsselect="$this.databases">
  154.  
  155.                   <span>Open database:</span>
  156.                   <span jscontent="name"></span>
  157.  
  158.                   <div>
  159.                     <span>Connections:</span>
  160.  
  161.                     <span class="indexeddb-connection-count"
  162.                           jsdisplay="connection_count">
  163.                       <span>open:</span>
  164.                       <span jscontent="connection_count"></span>
  165.                     </span>
  166.  
  167.                     <span class="indexeddb-connection-count pending"
  168.                           jsdisplay="pending_opens">
  169.                       <span>pending opens:</span>
  170.                       <span jscontent="pending_opens"></span>
  171.                     </span>
  172.  
  173.                     <span class="indexeddb-connection-count pending"
  174.                           jsdisplay="pending_upgrades">
  175.                       <span>pending upgrades:</span>
  176.                       <span jscontent="pending_upgrades"></span>
  177.                     </span>
  178.  
  179.                     <span class="indexeddb-connection-count pending"
  180.                           jsdisplay="running_upgrades">
  181.                       <span>running upgrades:</span>
  182.                       <span jscontent="running_upgrades"></span>
  183.                     </span>
  184.  
  185.                     <span class="indexeddb-connection-count pending"
  186.                           jsdisplay="pending_deletes">
  187.                       <span>pending deletes:</span>
  188.                       <span jscontent="pending_deletes"></span>
  189.                     </span>
  190.  
  191.                   </div>
  192.                   <div jsdisplay="$this.transactions &&
  193.                                   $this.transactions.length">
  194.                     <span>Transactions:</span>
  195.  
  196.                     <table class="indexeddb-transaction-list">
  197.                       <tbody>
  198.                         <tr>
  199.                           <th title="Process ID of the tab or SharedWorker that created the transaction">
  200.                             Process ID
  201.                           </th>
  202.                           <th title="Transaction ID (unique within Process)">
  203.                             ID
  204.                           </th>
  205.                           <th title="Type of transaction">
  206.                             Mode
  207.                           </th>
  208.                           <th title="Names of object stores used by the transaction">
  209.                             Scope
  210.                           </th>
  211.                           <th title="Number of requests that have been executed">
  212.                             Completed Requests
  213.                           </th>
  214.                           <th title="Number of requests that have not yet been executed">
  215.                             Pending Requests
  216.                           </th>
  217.                           <th title="Time since transaction creation">
  218.                             Age (ms)
  219.                           </th>
  220.                           <th title="Time since transaction started">
  221.                             Runtime (ms)
  222.                           </th>
  223.                           <th title="Status in the transaction queue">
  224.                             Status
  225.                           </th>
  226.                         </tr>
  227.                         <tr class="indexeddb-transaction"
  228.                             jsselect="$this.transactions"
  229.                             jseval="this.classList.add($this.status)">
  230.  
  231.                           <td class="indexeddb-transaction-pid"
  232.                               jscontent="pid">
  233.                           </td>
  234.  
  235.                           <td class="indexeddb-transaction-tid"
  236.                               jscontent="tid">
  237.                           </td>
  238.  
  239.                           <td class="indexeddb-transaction-mode"
  240.                               jscontent="mode">
  241.                           </td>
  242.  
  243.                           <td class="indexeddb-transaction-scope"
  244.                               jscontent="'[ ' + scope.join(', ') + ' ]'">
  245.                           </td>
  246.  
  247.                           <td class="indexeddb-transaction-requests-complete"
  248.                               jscontent="tasks_completed">
  249.                           </td>
  250.  
  251.                           <td class="indexeddb-transaction-requests-pending"
  252.                               jscontent="tasks_scheduled - tasks_completed">
  253.                           </td>
  254.  
  255.                           <td class="indexeddb-transaction-age"
  256.                               jscontent="Math.round(age)">
  257.                           </td>
  258.  
  259.                           <td class="indexeddb-transaction-age">
  260.                             <span jsdisplay="status == 'started' || status == 'running'"
  261.                                   jscontent="Math.round(runtime)">
  262.                             </span>
  263.                           </td>
  264.  
  265.                           <td class="indexeddb-transaction-state"
  266.                               jscontent="status">
  267.                           </td>
  268.                         </tr>
  269.                       </tbody>
  270.                     </table>
  271.                   </div>
  272.                 </div>
  273.             </div>
  274.         </div>
  275.     </div>
  276.     <h1>IndexedDB</h1>
  277.     <div class="content">
  278.         <div id="indexeddb-list">
  279.     </div>
  280.     <script src="chrome://resources/js/util.js"></script>
  281.     <script src="chrome://resources/js/cr.js"></script>
  282.     <script src="indexeddb_internals.js"></script>
  283.     <script src="chrome://resources/js/load_time_data.js"></script>
  284.     <script src="chrome://resources/js/jstemplate_compiled.js"></script>
  285.     <script src="strings.js"></script>
  286.     <script src="chrome://resources/js/i18n_template2.js"></script>
  287. </body>
  288. </html>
  289.  
  290.